export type KeyStringAny<T> = {
  [key: string]: T;
};

export interface WechatConfig {
  reply_friend?: {
    start: boolean;
    user: string[];
    noUser: string[];
    name: "自动回复私聊";
  };
  reply_group?: {
    start: boolean;
    user: string[];
    noUser: string[];
    name: "自动回复群聊";
  };
  add_friends?: {
    start: boolean;
    source: string[];
    verify: string;
    name: "自动添加好友";
  };
  friend?: KeyStringAny<string>;
  group?: KeyStringAny<string>;
}

export interface SystemJSON {
  login?: {
    account: string;
    password: string;
  };
}
